package com.example.tang.zhayan.utils;

import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;

import com.example.tang.zhayan.R;

/**
 * Created by tang on 2015/12/18.
 */
public class DialogUtils {

    /**
     * 加载中的弹出框
     *
     * @param context
     * @return
     */
    public static ProgressDialog showDialog(Context context) {
        ProgressDialog dialog = new ProgressDialog(context);
        dialog.setMessage(context.getString(R.string.stringIsLoading));
        return dialog;
    }
}
